package XML;
import java.util.ArrayList;

/**
 *
 * @author AlinT
 */
public class TagXML {

	ArrayList<TagXML> taguri = new ArrayList<TagXML>();
	String name = null;
	AddTag tagAdder = new AddTag();

	public void setName(String s)
	{
		this.name=s;
	}
	
	public ArrayList<TagXML> getTaguri() {
		return taguri;
	}

	public TagXML() {
		super();

	}

	public TagXML(String name)
	{
		this.name=name;

	}
   
	public void addTag(TagXML t)
	{
		tagAdder.setRadacina(this);
		tagAdder.setT(t);
		tagAdder.execute();
	}
  

}
